﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Db8.Data
{
    [Table("CounterClaims")]
    public class CounterClaim
    {
        [Key]
        [ForeignKey("TargetClaim")]
        [Column(Order = 0)]
        public int TargetClaimId { get; set; }
        public virtual Claim TargetClaim { get; set; }

        [Key]
        [ForeignKey("Claim")]
        [Column(Order = 1)]
        public int ClaimId { get; set; }
        public virtual Claim Claim { get; set; }
    }
}
